using System;
using UnityEngine;

[Serializable]
public class stadiummesh : MonoBehaviour
{
	public Mesh part;

	public void Awake()
	{
		MeshFilter meshFilter = ((MeshFilter)gameObject.GetComponent(typeof(MeshFilter))) as MeshFilter;
		MeshCollider meshCollider = ((MeshCollider)gameObject.GetComponent(typeof(MeshCollider))) as MeshCollider;
		if ((bool)meshFilter)
		{
			meshFilter.mesh = part;
		}
		if ((bool)meshCollider)
		{
			meshCollider.sharedMesh = part;
		}
	}

	public void Main()
	{
	}
}
